package com.slz3.business.module.socialManagement.socDianzan.service;

import com.slz3.business.module.socialManagement.socDianzan.domain.SocDianzan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface SocDianzanService {

    SocDianzan save(SocDianzan socDianzan);

    Page<SocDianzan> page(MultiValueMap<String,String> queryParams);

    SocDianzan modify(SocDianzan socDianzan);

    Optional<SocDianzan> single(UUID uuid);

    List<SocDianzan> findAllByUuids(Iterable<UUID> uuids);

    List<SocDianzan> delete(List<SocDianzan> socDianzanList);
}
